package com.javafx07.controller;

import javafx.fxml.FXML;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;

public class ResizeController {

    @FXML
    private ImageView imageView;

    private static Image image;

    public static void setImage(Image image) {
        ResizeController.image = image;
    }

    @FXML
    public void initialize(){
        imageView.setImage(image);
    }
}
